package com.yzy.fly.config.properties;

import lombok.Data;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

@Data
public class SqlConfiguration implements Serializable {

    private boolean enabled;
    private boolean format;
    private boolean costTime;

    private boolean record = true;
    private String logLevel = "debug";

    // 配置项：需要打印SQL的表名列表，如果为空则打印所有表
    private Set<String> includeTables = new HashSet<>();
    // 配置项：不需要打印SQL的表名列表，优先级高于includeTables
    private Set<String> excludeTables = new HashSet<>();

}
